//package com.gitee.exercisedemo.event.listener;
//
//import com.gitee.exercisedemo.event.GuavaEvent;
//import com.google.common.eventbus.Subscribe;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//
//import javax.annotation.PostConstruct;
//
//@Slf4j
//public class GuavaEventListener {
//
//    @Autowired
//
//
//    //注册这个监听器
//    @PostConstruct
//    public void register() {
//        asyncEventBus.register(this);
//    }
//
//    @Subscribe
//    public void handle(GuavaEvent event) {
//        log.info("receive event type:{},name:{},value:{}!", event.getType(), event.getName(), event.getValue());
//    }
//}
